package org.graduation.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.graduation.model.common.project.TaskAndUserTable;
import org.graduation.model.common.user.User;

import java.util.List;

@Mapper
public interface TaskAndUserMapper extends BaseMapper<TaskAndUserTable> {
    /**
     * 获取与taskid有关的所有用户
     *
     * @param taskId
     * @return
     */
    List<User> getUsersByTaskId(Long taskId);
}
